-- card: 26028 from stack: in.01 -- bmap block id: 0 -- flags: 0000 -- background id: 3166 -- name: -- part contents for background part 1 ----- text ----- * (The '+1' is to match up with HyperCard's 1-based counting * convention, rather than the 0-based C convention!!) * If the file isn't big enough or if textPtr is too near the * beginning or end of the file, cut off the retrieved text * at that boundary and insert the words {beginning of database} * or {end of database}. FILTER OUT ANY '\0' characters in * the text that is returned, to avoid problems; also * filter out any tabs, since HC mistreats them in its display; * and turn any linefeeds ('\n' = 0x0A) to returns ('\r' = 0x0D), * for compatibility in reading indexed files from UNIX hosts. * Restrict textChunkSize to <32000 bytes. After the text, on * a separate line, return three numbers: the byte number of * the first char returned relative to the beginning of the text * file, the actual offset within the characters returned * of the originally-requested textPtr, and the byte number * of the character after the last char returned relative to * the beginning of the text file. */ (End of Free Text XFCN documentation excerpts)